package com.mysterymall.Mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.mysterymall.Model.Entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @ClassName com.mysterymall.Mapper
 * @Description
 * @Author HuangWX
 * @Time 2023/12/22  15:02
 */
@Mapper
public interface UserMapper extends BaseMapper<User> {
    /**
     * 根据用户名查询
     *
     * @param userName
     * @return
     */
    User queryByUserName(@Param("userName") String userName);
}